package com.star.spring.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.time.Duration;

/**
 * @ClassName AuthProperties
 * @Description TODO
 * @Author star
 * @Date 2023/9/21 10:01
 */

@Data
@Component
@ConfigurationProperties(prefix = "top.star")
public class AuthProperties {

    Duration period = Duration.ofSeconds(5);
}
